import { ref } from "vue"

const list =ref(
  [
  // 按钮
  {
    comName: 'MyButton',
    style: {
      width: '50px',
      height: '30px',
      left: 0,
      top: 0,
      fontSize: 16,
      zIndex: 0,
      transform: 'translate(-50%,-50%)',
      rotate: 0
    },
    text: '按钮',
    icon: 'iconfont icon-anniu',
    className: 'mycom'
  },
  // 文本
  {
    comName: 'MyText',
    style: {
      width: 100,
      height: 50,
      left: 0,
      top: 0,
      fontSize: 16,
      lineHeight: 50,
      zIndex: 0,
      transform: 'translate(-50%,-50%)'
    },
    text: '文本',
    icon: 'iconfont icon-wenben',
    className: 'mycom'
  },
  // 图片
  {
    comName: 'MyImage',
    style: {
      width: 100,
      height: 50,
      left: 0,
      top: 0,
      zIndex: 0,
      transform: 'translate(-50%,-50%)'
    },
    text: '图片',
    icon: 'iconfont icon-tupian',
    imgsrc: '../assets/images/auto.png',
    className: 'mycom'
  },
  // 图表
  {
    comName: 'Chart',
    style: {
      width: 300,
      height: 400,
      left: 0,
      top: 0,
      zIndex: 0,
      transform: 'translate(-50%,-50%)'
    },
    text: '图表',
    icon: 'iconfont icon-tubiao',
    className: 'mycom'
  },
  // 三角形
  {
    comName: 'Triangle',
    style: {
      width: 100,
      height: 100,
      left: 0,
      top: 0,
      zIndex: 0,
      transform: 'translate(-50%,-50%)'
    },
    text: '三角形',
    icon: 'iconfont   icon-xingzhuang-sanjiaoxing',
    className: 'mycom'
  },
  // 五角星
  {
    comName: 'Pentagram',
    style: {
      width: 100,
      height: 100,
      left: 0,
      top: 0,
      zIndex: 0,
      transform: 'translate(-50%,-50%)'
    },
    text: '五角星',
    icon: 'iconfont icon-xingxing',
    className: 'mycom'
  },
  // 圆圈
  {
    comName: 'Circle',
    style: {
      width: 100,
      height: 100,
      left: 0,
      top: 0,
      zIndex: 0,
      borderRadius: '50%',
      border: '1px solid #000',
      transform: 'translate(-50%,-50%)'
    },
    text: '圆圈',
    icon: 'iconfont  icon-yuanquan',
    className: 'mycom'
  }
]



) 


export default list